/**
 * Created by anzhen on 2017-6-8.
 */
class Obj {
    def name
    def age

    @Override
    String toString() {
        return 'name :' + name + '  age:' + age
    }
    static void main(String[] args) {
        def obj = new Obj()
        println obj.toString()
    }
}
